.class public Ljavax/microedition/lcdui/Spacer;
.super Ljavax/microedition/lcdui/Item;
.source "Spacer.java"


# direct methods
.method public constructor <init>(II)V
    .locals 1
    .parameter "minWidth"
    .parameter "minHeight"

    .prologue
    .line 30
    const/4 v0, 0x0

    invoke-direct {p0, v0}, Ljavax/microedition/lcdui/Item;-><init>(Ljava/lang/String;)V

    .line 31
    invoke-virtual {p0, p1, p2}, Ljavax/microedition/lcdui/Spacer;->setMinimumSize(II)V

    .line 32
    return-void
.end method


# virtual methods
.method public addCommand(Ljavax/microedition/lcdui/Command;)V
    .locals 2
    .parameter "cmd"

    .prologue
    .line 39
    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "Spacer items can\'t have commands"

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0
.end method

.method paint(Ljavax/microedition/lcdui/Graphics;)I
    .locals 1
    .parameter "g"

    .prologue
    .line 55
    const/4 v0, 0x0

    return v0
.end method

.method public setDefaultCommand(Ljavax/microedition/lcdui/Command;)V
    .locals 2
    .parameter "cmd"

    .prologue
    .line 43
    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "Spacer items can\'t have commands"

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0
.end method

.method public setLabel(Ljava/lang/String;)V
    .locals 2
    .parameter "label"

    .prologue
    .line 35
    new-instance v0, Ljava/lang/IllegalStateException;

    const-string v1, "Spacer items can\'t have labels"

    invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V

    throw v0
.end method

.method public setMinimumSize(II)V
    .locals 1
    .parameter "minWidth"
    .parameter "minHeight"

    .prologue
    .line 47
    if-ltz p1, :cond_0

    if-gez p2, :cond_1

    .line 48
    :cond_0
    new-instance v0, Ljava/lang/IllegalArgumentException;

    invoke-direct {v0}, Ljava/lang/IllegalArgumentException;-><init>()V

    throw v0

    .line 51
    :cond_1
    return-void
.end method
